Skip to content

Further options for the transformations#14

Merged
dzenanz merged 3 commits intoInsightSoftwareConsortium:masterfrom
romangrothausmann:scaleWithR
Feb 21, 2020
Merged

Further options for the transformations#14
dzenanz merged 3 commits intoInsightSoftwareConsortium:masterfrom
romangrothausmann:scaleWithR

Conversation

@romangrothausmann
Copy link
Copy Markdown
Member

@romangrothausmann romangrothausmann commented Feb 19, 2020

This PR adds the option to scale the transform with the radius. This allows to use it with the itkResampleImageFilter to realize a transformation from cart. coords to polar/cylindrical coords (unfold, similar to http://hdl.handle.net/10380/3605) such that the arc-length/surface area is preserved.
It also adds the option to return NaN for values outside [-pi,pi], such that itkResampleImageFilter uses the DefaultPixelValue instead of repeating the pattern periodically, and the option to specify an offset for the angle allowing to adjust the center of the output.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants